package cms.hibernate.po;



/**
 * Article entity. @author MyEclipse Persistence Tools
 */

public class Article  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String title;
     private Integer categoryId;
     private String categoryName;
     private Integer authorId;
     private String authorName;
     private String publishTime;
     private Integer publishState;
     private String content;
     private String excerpt;
     
     private Integer readTime;


    // Constructors

    /** default constructor */
    public Article() {
    }

    
    /** full constructor */
    public Article(String title, Integer categoryId, String categoryName, Integer authorId, String authorName, String publishTime, Integer publishState, String content, Integer readTime) {
        this.title = title;
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.authorId = authorId;
        this.authorName = authorName;
        this.publishTime = publishTime;
        this.publishState = publishState;
        this.content = content;
        this.readTime = readTime;
    }


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public Integer getCategoryId() {
		return categoryId;
	}


	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}


	public String getCategoryName() {
		return categoryName;
	}


	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}


	public Integer getAuthorId() {
		return authorId;
	}


	public void setAuthorId(Integer authorId) {
		this.authorId = authorId;
	}


	public String getAuthorName() {
		return authorName;
	}


	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}


	public String getPublishTime() {
		return publishTime;
	}


	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}


	public Integer getPublishState() {
		return publishState;
	}


	public void setPublishState(Integer publishState) {
		this.publishState = publishState;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getExcerpt() {
		return excerpt;
	}


	public void setExcerpt(String excerpt) {
		this.excerpt = excerpt;
	}


	public Integer getReadTime() {
		return readTime;
	}


	public void setReadTime(Integer readTime) {
		this.readTime = readTime;
	}

   


}